<?php

use think\migration\Seeder;

class BasicProcessTypeData extends Seeder
{
    /**
     * 工艺流程
     */
    public function run()
    {
        $table = $this->table('basic_process_type');
        $rows  = [
            [
                'id'   => '1',
                'name' => '脱硝',
                'function' => 'SCR，SNCR等',
            ],
            [
                'id'   => '2',
                'name' => '脱硫',
                'function' => '半干法，湿法，双碱法等',
            ],
        ];
        $table->insert($rows)->save();
    }
}